<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>09_百度2</title>
</head>
<body>

<!--
1. 难度系数: ★★★
2. 技术点:
  1). 原型与原型链
  2). 对象属性查找
-->
<script type="text/javascript">
  /*
  测试题1
   */
  function A () {
  }
  A.prototype.n = 1

  var b = new A()

  A.prototype = {
    n: 2,
    m: 3
  }
  var c = new A()

  console.log(b.n, b.m, c.n, c.m) // ? ? ? ?
</script>
</body>
</html>